package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.RoleResource;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 4:23 PM 3/13/18
 */
public interface IRoleResourceService extends IBaseService<RoleResource> {

    List<RoleResource> getByResourceId(Long resourceId);

    Boolean changeRolePermissions(Long roleId,List<Long> resourceIds);
}
